<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" href="css/iconfont.css">
<link rel="stylesheet" href="css/global.css">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/swiper.min.css">
<link rel="stylesheet" href="css/styles.css">
<script src="js/jquery.1.12.4.min.js" charset="UTF-8"></script>
<script src="js/bootstrap.min.js" charset="UTF-8"></script>
<script src="js/swiper.min.js" charset="UTF-8"></script>
<script src="js/global.js" charset="UTF-8"></script>
<script src="js/jquery.DJMask.2.1.1.js" charset="UTF-8"></script>
<!-- 引入layui样式和脚本 -->
<link rel="stylesheet" href="../admin/layui/css/layui.css">
<script src="../admin/layui/layui.js"></script>
<script src="js/jquery.js"></script>
<title>U袋网</title>
</head>
<body>
	<!-- 顶部tab -->
	<div class="tab-header">
		<div class="inner">
			<div class="pull-left">
				<div class="pull-left">
					嗨，欢迎<span class="cr">${USER_SESSION.userPhone }</span>来到<span
						class="cr">U袋网</span>
				</div>
			</div>
			<div class="pull-left">
				<!-- 头部天气预报栏 ，切记引入jquery.js -->
				<iframe width="280" scrolling="no" height="25" frameborder="0"
					allowtransparency="true"
					src="http://i.tianqi.com/index.php?c=code&id=34&icon=1&num=3"></iframe>
			</div>
			<div class="pull-right">
				<c:if test="${not empty USER_SESSION}">
					<a href="logout"> 退出</a>
				</c:if>
				<c:if test="${ empty USER_SESSION}">
					<a href="login.jsp"><span class="cr">登录</span></a>
					<a href="login.jsp?p=register">注册</a>
				</c:if>
				<a href="getOderList">我的订单</a>
			</div>
		</div>
	</div>
	<!-- 搜索栏 -->
	<div class="top-search">
		<div class="inner">
			<a class="logo" href="getAllHome"><img
				src="images/icons/logo.jpg" alt="U袋网" class="cover"></a>
			<div class="search-box">

				<form class="input-group layui-form" method="" action="getPros">
					<input placeholder="Ta们都在搜U袋网" type="text" name="proName"
						value="${getProName }"> <span class="input-group-btn">
						<button type="submit" type="submit" lay-submit
							lay-filter="addformDemo">
							<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
						</button>
					</span>
				</form>

			</div>
			<div class="cart-box">
				<a href="getProCatList" class="cart-but"> <i
					class="iconfont icon-shopcart cr fz16"></i> 购物车
				</a>
			</div>
		</div>
	</div>

	<!-- 内页导航栏 -->
	<div class="top-nav bg3">
		<div class="nav-box inner">
			<div class="all-cat">
				<div class="title">
					<i class="iconfont icon-menu"></i> 全部类型
				</div>
			</div>
			<!-- 头部导航栏 -->
			<nav>
				<ul class="nva-list">
					<a href="getAllHome"><li>首页</li></a>
					<a href="getPros?page=1&limit=8"><li>全部商品表</li></a>
					<a href="getProReMen?page=1&limit=20"><li>热卖专区</li></a>
					<a href="getOderList"><li>个人中心</li></a>
				</ul>
			</nav>
		</div>
	</div>

</body>
</html>